PodAuth class
Provides authentication utilities for POD access.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getPodBaseUrl(
) → Future< String?> - Extract POD base URL from WebID.
-
getResourceUrl(
String resourcePath, {bool isContainer = false}) → Future< String> - Get resource URL from a path (same method as solidpod).
-
getTokens(
String resourceUrl, String method) → Future< TokenPair> - Get access token and DPoP token for a resource URL.
-
getWebId(
) → Future< String?> - Get the current user's WebID.
-
isLoggedIn(
) → Future< bool> - Check if user is currently logged in.
-
isLoggedInSync(
) → bool - Check if user is logged in (synchronous, uses cached data).