/** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * 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 { GroupMatchingModeEnum } from './GroupMatchingModeEnum'; /** * Plex Source Serializer * @export * @interface PatchedPlexSourceRequest */ export interface PatchedPlexSourceRequest { /** * Source's display Name. * @type {string} * @memberof PatchedPlexSourceRequest */ name?: string; /** * Internal source name, used in URLs. * @type {string} * @memberof PatchedPlexSourceRequest */ slug?: string; /** * * @type {boolean} * @memberof PatchedPlexSourceRequest */ enabled?: boolean; /** * Flow to use when authenticating existing users. * @type {string} * @memberof PatchedPlexSourceRequest */ authenticationFlow?: string | null; /** * Flow to use when enrolling new users. * @type {string} * @memberof PatchedPlexSourceRequest */ enrollmentFlow?: string | null; /** * * @type {Array} * @memberof PatchedPlexSourceRequest */ userPropertyMappings?: Array; /** * * @type {Array} * @memberof PatchedPlexSourceRequest */ groupPropertyMappings?: Array; /** * * @type {PolicyEngineMode} * @memberof PatchedPlexSourceRequest */ policyEngineMode?: PolicyEngineMode; /** * How the source determines if an existing user should be authenticated or a new user enrolled. * @type {UserMatchingModeEnum} * @memberof PatchedPlexSourceRequest */ userMatchingMode?: UserMatchingModeEnum; /** * * @type {string} * @memberof PatchedPlexSourceRequest */ userPathTemplate?: string; /** * How the source determines if an existing group should be used or a new group created. * @type {GroupMatchingModeEnum} * @memberof PatchedPlexSourceRequest */ groupMatchingMode?: GroupMatchingModeEnum; /** * Client identifier used to talk to Plex. * @type {string} * @memberof PatchedPlexSourceRequest */ clientId?: string; /** * Which servers a user has to be a member of to be granted access. Empty list allows every server. * @type {Array} * @memberof PatchedPlexSourceRequest */ allowedServers?: Array; /** * Allow friends to authenticate, even if you don't share a server. * @type {boolean} * @memberof PatchedPlexSourceRequest */ allowFriends?: boolean; /** * Plex token used to check friends * @type {string} * @memberof PatchedPlexSourceRequest */ plexToken?: string; } /** * Check if a given object implements the PatchedPlexSourceRequest interface. */ export declare function instanceOfPatchedPlexSourceRequest(value: object): value is PatchedPlexSourceRequest; export declare function PatchedPlexSourceRequestFromJSON(json: any): PatchedPlexSourceRequest; export declare function PatchedPlexSourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PatchedPlexSourceRequest; export declare function PatchedPlexSourceRequestToJSON(json: any): PatchedPlexSourceRequest; export declare function PatchedPlexSourceRequestToJSONTyped(value?: PatchedPlexSourceRequest | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=PatchedPlexSourceRequest.d.ts.map