/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { PolicyEngineMode } from './PolicyEngineMode';
import type { UserMatchingModeEnum } from './UserMatchingModeEnum';
import type { ThemedUrls } from './ThemedUrls';
import type { GroupMatchingModeEnum } from './GroupMatchingModeEnum';
/**
 * Plex Source Serializer
 * @export
 * @interface PlexSource
 */
export interface PlexSource {
    /**
     *
     * @type {string}
     * @memberof PlexSource
     */
    readonly pk: string;
    /**
     * Source's display Name.
     * @type {string}
     * @memberof PlexSource
     */
    name: string;
    /**
     * Internal source name, used in URLs.
     * @type {string}
     * @memberof PlexSource
     */
    slug: string;
    /**
     *
     * @type {boolean}
     * @memberof PlexSource
     */
    enabled?: boolean;
    /**
     * When enabled, this source will be displayed as a prominent button on the login page, instead of a small icon.
     * @type {boolean}
     * @memberof PlexSource
     */
    promoted?: boolean;
    /**
     * Flow to use when authenticating existing users.
     * @type {string}
     * @memberof PlexSource
     */
    authenticationFlow?: string | null;
    /**
     * Flow to use when enrolling new users.
     * @type {string}
     * @memberof PlexSource
     */
    enrollmentFlow?: string | null;
    /**
     *
     * @type {Array<string>}
     * @memberof PlexSource
     */
    userPropertyMappings?: Array<string>;
    /**
     *
     * @type {Array<string>}
     * @memberof PlexSource
     */
    groupPropertyMappings?: Array<string>;
    /**
     * Get object component so that we know how to edit the object
     * @type {string}
     * @memberof PlexSource
     */
    readonly component: string;
    /**
     * Return object's verbose_name
     * @type {string}
     * @memberof PlexSource
     */
    readonly verboseName: string;
    /**
     * Return object's plural verbose_name
     * @type {string}
     * @memberof PlexSource
     */
    readonly verboseNamePlural: string;
    /**
     * Return internal model name
     * @type {string}
     * @memberof PlexSource
     */
    readonly metaModelName: string;
    /**
     *
     * @type {PolicyEngineMode}
     * @memberof PlexSource
     */
    policyEngineMode?: PolicyEngineMode;
    /**
     * How the source determines if an existing user should be authenticated or a new user enrolled.
     * @type {UserMatchingModeEnum}
     * @memberof PlexSource
     */
    userMatchingMode?: UserMatchingModeEnum;
    /**
     * Objects that are managed by authentik. These objects are created and updated automatically. This flag only indicates that an object can be overwritten by migrations. You can still modify the objects via the API, but expect changes to be overwritten in a later update.
     * @type {string}
     * @memberof PlexSource
     */
    readonly managed: string | null;
    /**
     *
     * @type {string}
     * @memberof PlexSource
     */
    userPathTemplate?: string;
    /**
     *
     * @type {string}
     * @memberof PlexSource
     */
    icon?: string;
    /**
     *
     * @type {string}
     * @memberof PlexSource
     */
    readonly iconUrl: string;
    /**
     *
     * @type {ThemedUrls}
     * @memberof PlexSource
     */
    readonly iconThemedUrls: ThemedUrls | null;
    /**
     * How the source determines if an existing group should be used or a new group created.
     * @type {GroupMatchingModeEnum}
     * @memberof PlexSource
     */
    groupMatchingMode?: GroupMatchingModeEnum;
    /**
     * Client identifier used to talk to Plex.
     * @type {string}
     * @memberof PlexSource
     */
    clientId?: string;
    /**
     * Which servers a user has to be a member of to be granted access. Empty list allows every server.
     * @type {Array<string>}
     * @memberof PlexSource
     */
    allowedServers?: Array<string>;
    /**
     * Allow friends to authenticate, even if you don't share a server.
     * @type {boolean}
     * @memberof PlexSource
     */
    allowFriends?: boolean;
    /**
     * Plex token used to check friends
     * @type {string}
     * @memberof PlexSource
     */
    plexToken: string;
}
/**
 * Check if a given object implements the PlexSource interface.
 */
export declare function instanceOfPlexSource(value: object): value is PlexSource;
export declare function PlexSourceFromJSON(json: any): PlexSource;
export declare function PlexSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlexSource;
export declare function PlexSourceToJSON(json: any): PlexSource;
export declare function PlexSourceToJSONTyped(value?: Omit<PlexSource, 'pk' | 'component' | 'verbose_name' | 'verbose_name_plural' | 'meta_model_name' | 'managed' | 'icon_url' | 'icon_themed_urls'> | null, ignoreDiscriminator?: boolean): any;
//# sourceMappingURL=PlexSource.d.ts.map