getSession property
({Future Function(String providerId, List<String> scopes, Object options) $1, Future Function(String providerId, List<String> scopes, Object options) $2, Future Function(String providerId, List<String> scopes, [AuthenticationGetSessionOptions? options]) $3})
get
getSession
Overload accessor: $1, $2, $3
Implementation
({
/// Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
/// registered, or if the user does not consent to sharing authentication information with
/// the extension. If there are multiple sessions with the same scopes, the user will be shown a
/// quickpick to select which account they would like to use.
///
/// Currently, there are only two authentication providers that are contributed from built in extensions
/// to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
_i2.Future<_i2.dynamic> Function(
_i2.String providerId,
_i2.List<_i2.String> scopes,
_i2.Object options,
) $1,
/// Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
/// registered, or if the user does not consent to sharing authentication information with
/// the extension. If there are multiple sessions with the same scopes, the user will be shown a
/// quickpick to select which account they would like to use.
///
/// Currently, there are only two authentication providers that are contributed from built in extensions
/// to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
_i2.Future<_i2.dynamic> Function(
_i2.String providerId,
_i2.List<_i2.String> scopes,
_i2.Object options,
) $2,
/// Get an authentication session matching the desired scopes. Rejects if a provider with providerId is not
/// registered, or if the user does not consent to sharing authentication information with
/// the extension. If there are multiple sessions with the same scopes, the user will be shown a
/// quickpick to select which account they would like to use.
///
/// Currently, there are only two authentication providers that are contributed from built in extensions
/// to the editor that implement GitHub and Microsoft authentication: their providerId's are 'github' and 'microsoft'.
_i2.Future<_i2.dynamic> Function(
_i2.String providerId,
_i2.List<_i2.String> scopes, [
_i4.AuthenticationGetSessionOptions? options,
]) $3,
}) get getSession => (
$1: _getSession$1,
$2: _getSession$2,
$3: _getSession$3,
);