VKAuthorizationContext Class Reference

Inherits from VKObject : NSObject
Declared in VKAuthorizeController.h
VKAuthorizeController.m

+ contextWithAuthType:clientId:displayType:scope:revoke:

Prepare context for building oauth url

+ (instancetype)contextWithAuthType:(VKAuthorizationType)authType clientId:(NSString *)clientId displayType:(NSString *)displayType scope:(NSArray<NSString*> *)scope revoke:(BOOL)revoke

Parameters

authType

type of authorization will be used

clientId

id of the application

displayType

selected display type

scope

requested scope for application

revoke

If YES, user will see permissions list and allow to logout (if logged in already)

Return Value

Prepared context, which must be passed into buildAuthorizationURLWithContext: method

Discussion

Prepare context for building oauth url

Declared In

VKAuthorizeController.h