Package com.skt.nugu.sdk.platform.android.login.auth

Types

Link copied to clipboard
sealed class AuthorizationRequest

An OAuth authorization request.

Link copied to clipboard
interface AuthStateListener

This interface is used to observe changes to the state of authorization.

Link copied to clipboard
data class Credentials(    var accessToken: String,     var refreshToken: String,     var expiresIn: Long,     var issuedTime: Long,     var tokenType: String,     var scope: String?)

base class for an authorized identity

Link copied to clipboard
data class DeviceAuthorizationResult(    val device_code: String,     val user_code: String,     val verification_uri: String,     val verification_uri_complete: String,     val expires_in: Long,     val interval: Long)
Link copied to clipboard
data class IntrospectResponse(val active: Boolean, val username: String)
Link copied to clipboard
data class MeResponse(    val anonymous: Boolean,     val deviceId: String,     val tid: String,     val userId: String)
Link copied to clipboard
class NuguOAuth(OAuthServerUrl: String?) : NuguOAuthInterface, AuthDelegate, NuguOAuthClient.UrlDelegate

NuguOAuth provides an implementation of the NuguOAuthInterface authorization process.

Link copied to clipboard
class NuguOAuthClient(delegate: NuguOAuthClient.UrlDelegate)

NuguOAuthClient is a client for work with Authorization. that manages and persists end-user credentials.

Link copied to clipboard
class NuguOAuthError(val throwable: Throwable)

All errors that might occur. The response errors return a description as defined in the spec: https://developers-doc.nugu.co.kr/nugu-sdk/authentication

Link copied to clipboard
interface NuguOAuthInterface

Authentication interface for the NUGU oauth

Link copied to clipboard
data class NuguOAuthOptions(    var clientId: String,     var clientSecret: String,     var redirectUri: String?,     var deviceUniqueId: String)

OAuth Options builder.