You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
263 lines
7.1 KiB
263 lines
7.1 KiB
2 years ago
|
.class public final enum Lcom/facebook/AccessTokenSource;
|
||
|
.super Ljava/lang/Enum;
|
||
|
.source "AccessTokenSource.java"
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Ljava/lang/Enum",
|
||
|
"<",
|
||
|
"Lcom/facebook/AccessTokenSource;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# static fields
|
||
|
.field private static final synthetic $VALUES:[Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum CHROME_CUSTOM_TAB:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum CLIENT_TOKEN:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum DEVICE_AUTH:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum FACEBOOK_APPLICATION_NATIVE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum FACEBOOK_APPLICATION_SERVICE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum FACEBOOK_APPLICATION_WEB:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum NONE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum TEST_USER:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.field public static final enum WEB_VIEW:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field private final canExtendToken:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method static constructor <clinit>()V
|
||
|
.locals 8
|
||
|
|
||
|
.prologue
|
||
|
const/4 v7, 0x4
|
||
|
|
||
|
const/4 v6, 0x3
|
||
|
|
||
|
const/4 v5, 0x2
|
||
|
|
||
|
const/4 v4, 0x0
|
||
|
|
||
|
const/4 v3, 0x1
|
||
|
|
||
|
.line 30
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "NONE"
|
||
|
|
||
|
invoke-direct {v0, v1, v4, v4}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->NONE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 35
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "FACEBOOK_APPLICATION_WEB"
|
||
|
|
||
|
invoke-direct {v0, v1, v3, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->FACEBOOK_APPLICATION_WEB:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 40
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "FACEBOOK_APPLICATION_NATIVE"
|
||
|
|
||
|
invoke-direct {v0, v1, v5, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->FACEBOOK_APPLICATION_NATIVE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 46
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "FACEBOOK_APPLICATION_SERVICE"
|
||
|
|
||
|
invoke-direct {v0, v1, v6, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->FACEBOOK_APPLICATION_SERVICE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 51
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "WEB_VIEW"
|
||
|
|
||
|
invoke-direct {v0, v1, v7, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->WEB_VIEW:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 56
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "CHROME_CUSTOM_TAB"
|
||
|
|
||
|
const/4 v2, 0x5
|
||
|
|
||
|
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->CHROME_CUSTOM_TAB:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 61
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "TEST_USER"
|
||
|
|
||
|
const/4 v2, 0x6
|
||
|
|
||
|
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->TEST_USER:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 65
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "CLIENT_TOKEN"
|
||
|
|
||
|
const/4 v2, 0x7
|
||
|
|
||
|
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->CLIENT_TOKEN:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 69
|
||
|
new-instance v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
const-string v1, "DEVICE_AUTH"
|
||
|
|
||
|
const/16 v2, 0x8
|
||
|
|
||
|
invoke-direct {v0, v1, v2, v3}, Lcom/facebook/AccessTokenSource;-><init>(Ljava/lang/String;IZ)V
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->DEVICE_AUTH:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
.line 26
|
||
|
const/16 v0, 0x9
|
||
|
|
||
|
new-array v0, v0, [Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
sget-object v1, Lcom/facebook/AccessTokenSource;->NONE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v1, v0, v4
|
||
|
|
||
|
sget-object v1, Lcom/facebook/AccessTokenSource;->FACEBOOK_APPLICATION_WEB:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v1, v0, v3
|
||
|
|
||
|
sget-object v1, Lcom/facebook/AccessTokenSource;->FACEBOOK_APPLICATION_NATIVE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v1, v0, v5
|
||
|
|
||
|
sget-object v1, Lcom/facebook/AccessTokenSource;->FACEBOOK_APPLICATION_SERVICE:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v1, v0, v6
|
||
|
|
||
|
sget-object v1, Lcom/facebook/AccessTokenSource;->WEB_VIEW:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v1, v0, v7
|
||
|
|
||
|
const/4 v1, 0x5
|
||
|
|
||
|
sget-object v2, Lcom/facebook/AccessTokenSource;->CHROME_CUSTOM_TAB:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v2, v0, v1
|
||
|
|
||
|
const/4 v1, 0x6
|
||
|
|
||
|
sget-object v2, Lcom/facebook/AccessTokenSource;->TEST_USER:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v2, v0, v1
|
||
|
|
||
|
const/4 v1, 0x7
|
||
|
|
||
|
sget-object v2, Lcom/facebook/AccessTokenSource;->CLIENT_TOKEN:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v2, v0, v1
|
||
|
|
||
|
const/16 v1, 0x8
|
||
|
|
||
|
sget-object v2, Lcom/facebook/AccessTokenSource;->DEVICE_AUTH:Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
aput-object v2, v0, v1
|
||
|
|
||
|
sput-object v0, Lcom/facebook/AccessTokenSource;->$VALUES:[Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method private constructor <init>(Ljava/lang/String;IZ)V
|
||
|
.locals 0
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"(Z)V"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
.prologue
|
||
|
.line 73
|
||
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
||
|
|
||
|
.line 74
|
||
|
iput-boolean p3, p0, Lcom/facebook/AccessTokenSource;->canExtendToken:Z
|
||
|
|
||
|
.line 75
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
.method public static valueOf(Ljava/lang/String;)Lcom/facebook/AccessTokenSource;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 26
|
||
|
const-class v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
.method public static values()[Lcom/facebook/AccessTokenSource;
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 26
|
||
|
sget-object v0, Lcom/facebook/AccessTokenSource;->$VALUES:[Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
invoke-virtual {v0}, [Lcom/facebook/AccessTokenSource;->clone()Ljava/lang/Object;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
check-cast v0, [Lcom/facebook/AccessTokenSource;
|
||
|
|
||
|
return-object v0
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method canExtendToken()Z
|
||
|
.locals 1
|
||
|
|
||
|
.prologue
|
||
|
.line 78
|
||
|
iget-boolean v0, p0, Lcom/facebook/AccessTokenSource;->canExtendToken:Z
|
||
|
|
||
|
return v0
|
||
|
.end method
|